package tongwentongshu.com.app.adapter;


import android.content.Context;
import android.widget.ImageView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

import tongwentongshu.com.app.R;
import tongwentongshu.com.app.bean.HelpBean;
import tongwentongshu.com.app.bean.MyShareBean;
import tongwentongshu.com.app.utils.GlideUtil;

/**
 * 文 件 名: MainBooksAdapter
 * 创 建 人: Allen
 * 创建日期: 16/12/24 19:55
 * 邮   箱: AllenCoder@126.com
 * 修改时间：
 * 修改备注：
 */
public class HelpAdapter extends BaseQuickAdapter<HelpBean.DataBean, BaseViewHolder> {
    private Context mContext;

    public HelpAdapter(Context mContext, List<HelpBean.DataBean> list) {
        super(R.layout.view_help, list);
        this.mContext = mContext;
    }

    @Override
    protected void convert(BaseViewHolder helper, HelpBean.DataBean item) {
        helper.setText(R.id.tv_title, item.getProblem());
        helper.setText(R.id.tv_content, item.getReply());
    }


}
